import request from "@/utils/request";

// 新增达人联系人信息
export function talentBlock(data) {
  return request({
    url: "/product/sample/talentBlock",
    method: "post",
    params: data,
  });
}
// 新增达人联系人信息
export function buildRelationship(data) {
  return request({
    url: "/product/sample/buildRelationship",
    method: "post",
    params: data,
  });
}

// 查询达人-标签列表
export function selectTalentLabel(query) {
  return request({
    url: "/talent/BiTalentLabel/selectTalentLabel",
    method: "get",
    params: query,
  });
}

// 新增达人联系人信息
export function releaseTalent(data) {
  return request({
    url: "/product/sample/releaseTalent",
    method: "post",
    params: data,
  });
}
// 新增达人联系人信息
export function transferMedium(data) {
  return request({
    url: "/product/sample/transferMedium",
    method: "post",
    params: data,
  });
}
// 新增达人联系人信息
export function distributionTalent(data) {
  return request({
    url: "/product/sample/distributionTalent",
    method: "post",
    params: data.query,
    data: data.data,
  });
}

// 新增达人联系人信息
export function setLabel(data) {
  return request({
    url: "/product/sample/setLabel",
    method: "post",
    params: data.query,
    data: data.data,
  });
}
